modules/input: Only build quartz module if we're targeting quartz
authorColin Walters <walters@verbum.org>
Mon, 20 May 2013 18:06:32 +0000 (14:06 -0400)
committerColin Walters <walters@verbum.org>
Mon, 20 May 2013 18:18:02 +0000 (14:18 -0400)
Otherwise the build is broken on GNU/Linux and Win32.

modules/input/Makefile.am

index 902bad318ed80903d9d3f26893dd83e71c26d815..3ad28d11720344b7b4d9639d62db2f4bc2ca2336 100644 (file)
@@ -159,8 +159,10 @@ im_quartz_la_LIBADD = $(LDADDS)
 if INCLUDE_IM_QUARTZ
 STATIC_QUARTZ_MODULE = libstatic-im-quartz.la
 else
+if USE_QUARTZ
 QUARTZ_MODULE = im-quartz.la
 endif
+endif
 
 multipress_defs = -DMULTIPRESS_LOCALEDIR=\""$(mplocaledir)"\" -DMULTIPRESS_CONFDIR=\""$(sysconfdir)/gtk-2.0"\"
 im_multipress_la_CPPFLAGS = $(AM_CPPFLAGS) $(multipress_defs)